body,
html {
    width: 100%;
    height: 100%;
    background: url('/assets/images/login_bg.jpg')no-repeat 0 0;
    background-size: cover;
}

.layui-main {
    padding-top: 20px;
}

.login-reg {
    position: fixed;
    width: 400px;
    height: 310px;
    background: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.title-box {
    height: 60px;
    background: url(/assets/images/login_title.png) no-repeat center;
}
form {
    margin: 0 30px;
}

form a {
    float: right;
}

/* 字体图标 */
.layui-form-item {
    position: relative;
}

.layui-icon {
    position: absolute;
    left: 6px;
    top: 11px;
}

.layui-input {
    padding-left: 24px;
}

/* 默认，让注册的盒子隐藏 */
.register {
    display: none;
}   